<template>
  <div>
    <div class="tstitle">
      <div @click="$router.back()" class="backbtn">
        <img src="../assets/imgs/iconse/左箭头.png" alt="" />
      </div>
    </div>
    <div class="atimgs">
      <img src="../assets/imgs/广告页内.jpg" alt="" />
    </div>
    <div class="atbtn" @click="ons">
      <span>点击立刻报名</span>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    ons() {
      this.$toast("报名成功");
      this.$router.back();
    },
  },
};
</script>

<style lang="scss" scoped>
.tstitle {
  height: 50px;
  line-height: 50px;
  // display: flex;
  align-items: center;
  .backbtn {
    height: 35px;
    line-height: 35px;
    margin-left: 10px;
    margin-top: 15px;
    img {
      height: 100%;
      display: block;
    }
  }
}
.atimgs {
  width: 100%;
  margin-bottom: 20px;
  img {
    width: 100%;
    display: block;
  }
}
.atbtn {
  position: relative;
  width: 250px;
  height: 50px;
  bottom: 10px;
  left: 0px;
  right: 0px;
  margin: 0 auto;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d196f;
  span {
    font-size: 20px;
    color: #fff;
  }
}
</style>